package core;

import domain.Student;

import java.util.List;

/**
 * @author 于金鹏
 * @Date 2024/12/18 9:21
 * @Package StudentCheckSystem
 */
public class Page<T> {
    private int total;
    private List<T> records;

    public Page() {
    }

    public Page(int total, List<T> records) {
        this.total = total;
        this.records = records;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<T> getRecords() {
        return records;
    }

    public void setRecords(List<T> records) {
        this.records = records;
    }
}
